﻿using MediatR;
using SqlSugar;

namespace FinancialManagement.Application.Command.ReceivableCommand
{
    /// <summary>
    /// 添加应收（直接退款）
    /// </summary>
    public class AddReceivableCommand:IRequest<int>
    {
        /// <summary>
        /// 应收账款id
        /// </summary>
        public int AccountReceivableId { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? ARNumber { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? AClientName { get; set; }
        /// <summary>
        /// 本次退款
        /// </summary>
        public decimal? AReceivableAmount { get; set; }

        /// <summary>
        /// 退款日期
        /// </summary>
        public DateTime? APDocumentDate { get; set; }
        /// <summary>
        /// 退款方式
        /// </summary>
        public string? AReceivableWay { get; set; }
        /// <summary>
        ///  退款账号
        /// </summary>
        public string? AReceivableAccount { get; set; }

    }
}
